package xyz.fuqufyb.aec.entity;

import java.io.Serializable;
import java.util.Date;

public class UserToken implements Serializable {
    private Integer id;

    private Integer appId;

    private Integer cusId;

    private String accessToken;

    private Date expireTime;

    private Date startTime;

    private static final long serialVersionUID = 1L;

    public UserToken(Integer id, Integer appId, Integer cusId, String accessToken, Date expireTime, Date startTime) {
        this.id = id;
        this.appId = appId;
        this.cusId = cusId;
        this.accessToken = accessToken;
        this.expireTime = expireTime;
        this.startTime = startTime;
    }

    public UserToken() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAppId() {
        return appId;
    }

    public void setAppId(Integer appId) {
        this.appId = appId;
    }

    public Integer getCusId() {
        return cusId;
    }

    public void setCusId(Integer cusId) {
        this.cusId = cusId;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken == null ? null : accessToken.trim();
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
}